﻿#region Usings

#endregion

namespace LongNet.Web.Email
{
    /// <summary>
    /// Base message class used for emails
    /// </summary>
    public class Message
    {
        #region Constructor
        /// <summary>
        /// Constructor
        /// </summary>
        public Message()
        {
            Body = string.Empty;
        }
        #endregion

        #region Properties
        /// <summary>
        /// Whom the message is to
        /// </summary>
        public virtual string To{get;set;}

        /// <summary>
        /// The subject of the email
        /// </summary>
        public virtual string Subject{get;set;}

        /// <summary>
        /// Whom the message is from
        /// </summary>
        public virtual string From{get;set;}

        /// <summary>
        /// Body of the text
        /// </summary>
        public virtual string Body{get;set;}

        //Add 2011-05-09

        /// <summary>
        /// Content of the text
        /// </summary>
        public virtual string Content { get; set; }

        /// <summary>
        /// UserName of the text
        /// </summary>
        public virtual string UserName { get; set; }

        /// <summary>
        /// Password of the text
        /// </summary>
        public virtual string Password { get; set; }


        /// <summary>
        /// Server of the text
        /// </summary>
        public virtual string Server { get; set; }


        /// <summary>
        /// Port of the text
        /// </summary>
        public virtual int Port { get; set; }

        #endregion
    }
}
